<?php


namespace app\common\model\workflow;

use think\Exception;
use think\facade\Db;
use think\facade\Request;
use think\Model;

class Template extends Model
{
    protected $name = 'wf_template';

    public function nodes()
    {
        return $this->hasMany(TemplateNode::class,'template_id');
    }

}